package com.itheima.operator;
/*
扩展赋值运算符 隐含强制转换 a += 1  等于 a = （a的类型）（a + 1）
 */
public class OperatorPractise03 {
    public static void main(String[] args) {
        int a = 20;
        a += 10;
        System.out.println(a);
        a -= 10;
        System.out.println(a);
        a /= 10;
        System.out.println(a);
        a %= 10;
        System.out.println(a);
    }
}
